package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.AttrAttrgroupRelationVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gulimall.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrAttrgroupRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author yangshen
 * @email yangshen@gmail.com
 * @date 2020-05-25 17:03:09
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 属性分组关联多个基础属性(规格参数)
     * @param attrAttrgroupRelationVos 入参
     * @return 成功标志
     */
    void saveBatch(List<AttrAttrgroupRelationVo> attrAttrgroupRelationVos);
}

